﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="分厂超产增值月报.aspx.cs" Inherits="syc.Produce.分厂超产增值月报" %>
<html>
<head runat="server">
    <title></title>
<style>
td.block{border-style: solid; border-width: 1px;}
</style>
</head>
<body>
<script type="text/javascript" language="javascript" src="/common.js"></script>
    <form id="form1" runat="server">
    <div id="wintop" class="wintop"><asp:Label ID="Label_YueFen" runat="server" Text=""></asp:Label>分厂超产增值月报</div>
        <asp:Panel ID="Panel1" runat="server" CssClass="panel">
            <span style="display:inline-block;width:140px;">
            年度：<asp:DropDownList ID="NianDu" runat="server" Width="60px" AutoPostBack="true">
                <asp:ListItem>2008</asp:ListItem>
                <asp:ListItem>2009</asp:ListItem>
                <asp:ListItem>2010</asp:ListItem>
                <asp:ListItem>2011</asp:ListItem>
                <asp:ListItem>2012</asp:ListItem>
                <asp:ListItem>2013</asp:ListItem>
                <asp:ListItem>2014</asp:ListItem>
                <asp:ListItem>2015</asp:ListItem>
                <asp:ListItem>2016</asp:ListItem>
                <asp:ListItem>2017</asp:ListItem>
                <asp:ListItem>2018</asp:ListItem>
                <asp:ListItem>2019</asp:ListItem>
                <asp:ListItem>2020</asp:ListItem>
            </asp:DropDownList>
            </span>
            <span style="display:inline-block;width:140px;">
            月份：<asp:DropDownList ID="YueFen" runat="server" Width="60px" AutoPostBack="true">
                <asp:ListItem Value="1">一</asp:ListItem>
                <asp:ListItem Value="2">二</asp:ListItem>
                <asp:ListItem Value="3">三</asp:ListItem>
                <asp:ListItem Value="4">四</asp:ListItem>
                <asp:ListItem Value="5">五</asp:ListItem>
                <asp:ListItem Value="6">六</asp:ListItem>
                <asp:ListItem Value="7">七</asp:ListItem>
                <asp:ListItem Value="8">八</asp:ListItem>
                <asp:ListItem Value="9">九</asp:ListItem>
                <asp:ListItem Value="10">十</asp:ListItem>
                <asp:ListItem Value="11">十一</asp:ListItem>
                <asp:ListItem Value="12">十二</asp:ListItem>
            </asp:DropDownList> 
            </span>
            油管单价：<asp:TextBox ID="DanJia1" runat="server" Width="80px" AutoPostBack="True">5025.64</asp:TextBox>
            套管单价：<asp:TextBox ID="DanJia2" runat="server" Width="80px" AutoPostBack="True">4512.82</asp:TextBox>
            <asp:Button ID="Button_Export" runat="server" Text="导出报表" CssClass="button" 
                UseSubmitBehavior="False" onclick="Button_Export_Click"/>

        </asp:Panel>

    <asp:Panel ID="Panel2" runat="server" CssClass="panel3">
<table border="0" cellpadding="0" style="border-collapse: collapse;text-align:center;font-size:16px;" bordercolor="#000000">
	<tr height="50">
		<td colspan="8" align="center"><font style="font-size:24px;"><b><%=this.YueFen.SelectedItem.Text %>月份各分厂超产增值月报</b></font></td>
	</tr>
	<tr>
		<td align="right" height="30">单位：</td>
		<td>生产处</td>
		<td colspan="6">　</td>
	</tr>
	<tr>
		<td width="100"></td>
		<td width="90"></td>
		<td width="60"></td>
		<td width="80"></td>
		<td width="90"></td>
		<td width="80"></td>
		<td width="110"></td>
		<td width="110"></td>
	</tr>
	<tr height="36" style="font-size:18px;">
		<td class=block>指标名称</td>
		<td class=block>分厂名称</td>
		<td class=block>单位</td>
		<td class=block>月计划</td>
		<td class=block>实际完成</td>
		<td class=block>超产量</td>
		<td class=block>超产值<font style="font-size:14px;">(万元)</font></td>
		<td class=block>备注</td>
	</tr>
	<tr height="30" style="font-size:16px;">
		<td class=block>套管</td>
		<td class=block>一分厂</td>
		<td class=block>吨</td>
		<td class=block><%=this.JiHua[0] %></td>
		<td class=block><%=(this.WanCheng[0]/1000).ToString("0.000") %></td>
		<td class=block><%=(this.WanCheng[0] / 1000 - this.JiHua[0]).ToString("0.000")%></td>
		<td class=block><%=((this.WanCheng[0] / 1000 - this.JiHua[0]) * double.Parse(this.DanJia2.Text) / 10000).ToString("0.000")%></td>
		<td class=block><%=this.DanJia2.Text %></td>
	</tr>
	<tr height="30" style="font-size:16px;">
		<td class=block>套管</td>
		<td class=block>二分厂</td>
		<td class=block>吨</td>
		<td class=block><%=this.JiHua[1] %></td>
		<td class=block><%=(this.WanCheng[1]/1000).ToString("0.000") %></td>
		<td class=block><%=(this.WanCheng[1] / 1000 - this.JiHua[1]).ToString("0.000")%></td>
		<td class=block><%=((this.WanCheng[1] / 1000 - this.JiHua[1]) * double.Parse(this.DanJia2.Text) / 10000).ToString("0.000")%></td>
		<td class=block><%=this.DanJia2.Text %></td>
	</tr>
	<tr height="30" style="font-size:16px;">
		<td class=block>油管</td>
		<td class=block>二分厂</td>
		<td class=block>吨</td>
		<td class=block><%=this.JiHua[2] %></td>
		<td class=block><%=(this.WanCheng[2]/1000).ToString("0.000") %></td>
		<td class=block><%=(this.WanCheng[2] / 1000 - this.JiHua[2]).ToString("0.000")%></td>
		<td class=block><%=((this.WanCheng[2] / 1000 - this.JiHua[2])*double.Parse(this.DanJia1.Text)/10000 ).ToString("0.000") %></td>
		<td class=block><%=this.DanJia1.Text %></td>
	</tr>
	<tr height="30" style="font-size:16px;">
		<td class=block>套管接箍</td>
		<td class=block>三分厂</td>
		<td class=block>支</td>
		<td class=block><%=this.JiHua[3] %></td>
		<td class=block><%=this.WanCheng[3] %></td>
		<td class=block><%=this.WanCheng[3] -this.JiHua[3] %></td>
		<td class=block>　</td>
		<td class=block>　</td>
	</tr>
	<tr height="30" style="font-size:16px;">
		<td class=block>油管接箍</td>
		<td class=block>三分厂</td>
		<td class=block>支</td>
		<td class=block><%=this.JiHua[4] %></td>
		<td class=block><%=this.WanCheng[4] %></td>
		<td class=block><%=this.WanCheng[4] -this.JiHua[4] %></td>
		<td class=block>　</td>
		<td class=block>　</td>
	</tr>
	<tr height="30" style="font-size:16px;">
		<td class=block>螺纹保护器</td>
		<td class=block>四分厂</td>
		<td class=block>套</td>
		<td class=block><%=this.JiHua[5] %></td>
		<td class=block><%=this.WanCheng[5] %></td>
		<td class=block><%=this.WanCheng[5] -this.JiHua[5] %></td>
		<td class=block>　</td>
		<td class=block>　</td>
	</tr>
	<tr height="30" style="font-size:16px;">
		<td class=block>油管</td>
		<td class=block>五分厂</td>
		<td class=block>吨</td>
		<td class=block><%=this.JiHua[6] %></td>
		<td class=block><%=(this.WanCheng[6]/1000).ToString("0.000") %></td>
		<td class=block><%=(this.WanCheng[6] / 1000 - this.JiHua[6]).ToString("0.000")%></td>
		<td class=block><%=((this.WanCheng[6] / 1000 - this.JiHua[6]) * double.Parse(this.DanJia1.Text) / 10000).ToString("0.000")%></td>
		<td class=block><%=this.DanJia1.Text %></td>
	</tr>
	<tr>
		<td height="30" align="right">负责人：</td>
		<td colspan="3">　</td>
		<td align="right">填报人：</td>
		<td align="left">赵俐姝</td>
		<td><%=DateTime.Today.ToLongDateString() %></td>
		<td>　</td>
	</tr>
</table>

    </asp:Panel>

    </form>
    
    <script>

    </script>
</body>
</html>
